{% init plugin_category_list = xutils.call("plugin.get_category_list") %}

<div class="card">
    <a class="tab tab-link x-tab x-tab-default" href="/plugins_list?category=all"
        data-category="all">全部</a>

    {% for category in plugin_category_list %}
        <a class="tab tab-link x-tab" href="{{category.url}}" 
            data-category="{{category.code}}">{{category.name}}</a>
    {% end %}
    
    <a class="tab tab-link x-tab" href="/plugins_list?category=other"
        data-category="other">其他</a>

</div>
